Click2pay_Payments\Gateways\Credit_Card_Subscriptions S

Total Complexity 45
Dependencies 3
Dependents 1
Total lines 352
Lines of code 188
Logical lines of code 125
Comment lines 59
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
save_credit_card_without_payment()
A
40 12 55
process_payment()
A
45 12 38
scheduled_subscription_payment()
S
49 5 29
payment_fields()
S
69 3 6
get_available_installments()
S
72 2 6
should_save_credit_card()
S
72 2 6
save_payment_method_checkbox()
S
72 2 6
save_subscription_card_token()
S
66 2 8
add_subscription_payment_meta()
S
62 1 12
__construct()
S
65 1 8
is_available()
S
80 1 3
failing_payment_method_updated()
S
91 1 2
delete_custom_meta_fom_renewal_order()
S
66 1 9